import request from '@/utils/request';

/** 查询烫金版列表 */
export const getgildingInfoListApi = (data: any) => {
    return request({
        url: '/system/gildingInfo/list',
        method: 'post',
        data: data
    })
};

/** 烫金版报废 */
export const scrapGildingInfoApi = (id: any) => {
    return request({
        url: `/system/gildingInfo/${id}`,
        method: 'delete'
    })
};


/** 更新 */
export const updateGildingInfoApi = (data: any) => {
    return request({
        url: `/system/gildingInfo/updateWarehouseLocation`,
        method: 'put',
        params: data
    })
};